Vectorization Blocks for Simulink

نویسندگان

  • Giampiero Campa
  • Mario Innocenti
چکیده

The paper presents two blocks that extend Simulink range of applicability to varying matrices, allowing the user to build (without writing a single line of code) dynamical systems that can be both complex and suitable for real time simulations. First of all, the three common techniques to build dynamical system with Simulink will be presented, showing the advantages and disadvantages of each of them. Then we will explain why (when dealing with complex multivariable systems) neither of the three can be at the same time easy to use and suitable for real time simulations. Two Simulink blocks will then be proposed that solve this problem by allowing varying matrices to be handled directly in the Simulink environment. The aspect, the user interface, and the most important part of the code of these blocks will be discussed, and their use will finally be explained by means of some examples. In particular, we will present an example on how to implement a complex multilayer adaptive neural network using these two blocks. Introduction: S-functions S-functions are the way in which a dynamical system is represented inside Simulink environment. Every Simulink object (block, composition of blocks, schemes) is a dynamical system; hence, every object (included the entire simulation scheme) is represented by an S-function. Typically, the built in Simulink blocks are associated with precompiled S-functions, while user added Sfunctions are obtained joining blocks or directly written in a language such as Matlab, C, C++, Fortran. ______________________________ †Professor, Associate Fellow AIAA ‡Research Assistant Professor, currently with Department of Mechanical and Aerospace Engineering, West Virginia University, Morgantown, WV, USA Copyright © 2000 by Mario Innocenti and Giampiero Campa, Published by the American Institute of Aeronautics and Astronautics, Inc., with permission Matlab and Simulink are trademarks of The Mathworks Inc. Whatever the language in which the S-function is written in, it must interact with Simulink in the same way, that is, it must have the structure shown in [1]. Different ways to build S-functions Joining together Simulink blocks Perhaps the most common way to build dynamical systems (hence S-functions) in Simulink, is just to join together Simulink blocks. For example, if we have two blocks that represent two systems and we would like to have the system consisting of the series of the two, the easiest way to obtain the series system is just drawing a wire that connects the output of the first system to the input of the second one. We can then group the two systems together using the Simulink “Group” function in order to obtain a block that appears as any Simulink block and represents our “new” dynamical system. The ease of operations like the one depicted above has been maybe the principal cause of Simulink success as an interface to deal with dynamical systems, indeed in this way we can build a dynamical system straightforwardly without the need to write a single line of code. In some cases however assembling subsystems may not be the best choice, this is true especially if we already have the input-state-output equations of the system that we are going to build, and especially for nonlinear multivariable systems. Let’s consider for example a system in which the output depends from the state vector in this way:

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

MATLAB/Simulink TCP/IP Communication

This paper describes TCP/IP communication blocks in the program MATLAB/Simulink. The new developed Simulink blocks and detailed instructions for building them are described here. This server and client blocks enable Simulink models to communicate with remote applications, devices over TCP/IP communications. A very similar functionality (more complex) is provided by the TCP/IP block in the Instr...

متن کامل

A Benchmark for Graphics Recognition Systems

This paper presents a benchmark for evaluating graphics recognition systems. The benchmark is designed for evaluating the performance of graphics recognition systems on images that contain straight lines (solid or dashed), circles (solid or dashed), circular arcs (solid or dashed), and text blocks. This benchmark enables an objective assessment and comparison of vectorization software. It uses ...

متن کامل

Behavioral Model of Pipeline Adc by Using Simulink@

The presented work concentrates on behavioral modeling of pipeline ADCs. For this purpose the parameters that affect the operation of basic pipeline ADC blocks are investigated. The non-ideal parameters of these blocks are modeled by using MATLAE4@ and SIMULINK?

متن کامل

Steady-State and Dynamic Simulations of Gas Absorption Column Using MATLAB and SIMULINK

Separation is one of the most important process in all the chemical industries and the gas absorption is the simplest example of separation process which is generally used for the absorption of dilute components from a gaseous mixture. In the present work, a dynamic system of mathematical equation (algebraic and differential) is modeled to predict the behavior of the absorption column using mat...

متن کامل

Programming of the DSP2 board with the Matlab/Simulink

the DSP2 board, based on the digital signal processor, has been developed at the Institute of Robotic, FERI, University of Maribor. For mentioned board a set of Simulink blocks, so called the DSP2 Library for Simulink, was created under the Real-Time Workshop. These blocks enable easy graphical programming of the different control algorithms under the Matlab/Simulink. At the end, with the Real-...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000